home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
049a
/
ezutl103.zip
/
SENDREPS.SCR
< prev
next >
Wrap
Text File
|
1990-02-13
|
2KB
|
83 lines
;
; This Qmodem script file is to be used in conjuction with the EZ-Reader
; utils, PCB2QWK and REP2PCB. The script reads the message file and sends
; it to PC Board. This script was tested on PC Board 14.2/D. You may have
; to modify it to suit your needs.
;
; The calling script must have the following two lines to operate.
; string MSGFILE ; FileName of the Message file
; assign MSGFILE C:\MAIL\60.PCB
; Replace the contents MSGFILE with the name of your message file. This
; will vary, so you will probably want some type of input routine in your
; main script.
;
;============================================================================
debug off
turnon 8_BIT ;This series of entries sets up the
turnoff LINEFEED ;Qmodem operating environment.
turnoff XON/XOFF
turnoff NOISE
turnoff MUSIC
turnon SCROLL
turnoff PRINT
turnoff ECHO
;
;
exist $MSGFILE SendCap ; Does Notefile exist
displayln "Message file $MSGFILE was not found."
displayln "Aborting..."
goto End
;
;
;-----------------------------------------------------------;
; ---- PROMPT ---- -- REPLY -- ;
;-----------------------------------------------------------;
SendCap:
When
When "to continue?" "N^M"
When "'Last Read' (Enter)=yes?" "N^M"
When "Conference members (Enter)=no?" "N^M"
When "More (Y), (N), (NS)" "N^M"
When "(H)elp, More?" "N^M"
When "NO CARRIER" End
send "^M"
waitfor "Command?"
openfile $MSGFILE read
ReadLoop:
readfile 0
delay 500
if "$0" = "_EOF_" NoMore
if "$0" = "" BlankLine
if "$0" = "***JNC***" JoinConference
if "$0" = "***EOM***" EndMessage
send "$0^M"
goto ReadLoop
BlankLine:
send " ^M"
goto ReadLoop
JoinConference:
readfile 0
delay 500
send "J;$0^M"
waitfor "Command?"
goto ReadLoop
EndMessage:
send "^M"
delay 500
send "S^M"
waitfor "Command?"
delay 500
send "^M"
waitfor "Command?"
goto ReadLoop
NoMore:
closefile
End:
return